﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Interviewer/MasterPageInterviewer.master" AutoEventWireup="true" CodeFile="SearchInterview.aspx.cs" Inherits="Interviewer_SearchInterview" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link rel="Stylesheet" href="Styles/InterviewerStyleSheet.css" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentmain" Runat="Server">

    <div id="MenuSearchInterview">
    <h2>Search Interview</h2>
    </div>
    <div class="divValue">
        
                    <asp:Label ID="Label1" runat="server" Text="Search By Date"></asp:Label>
                    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
                    </asp:ToolkitScriptManager>
               
                    <asp:TextBox ID="txtCalendar" runat="server" Width="170px"></asp:TextBox>
                    <asp:CalendarExtender ID="txtCalendar_CalendarExtender" runat="server" 
                        TargetControlID="txtCalendar">
                    </asp:CalendarExtender>
            
                    <asp:Button ID="btnSearch" runat="server" Text="Search" Width="100px" 
                        onclick="btnSearch_Click" />
               
    </div>
    <div>
        <asp:GridView ID="grvSearchInterview" runat="server" AutoGenerateColumns="False" 
            BackColor="White" BorderColor="#999999" BorderStyle="None" BorderWidth="1px" 
            CellPadding="3" GridLines="Vertical" Width="700px" AllowPaging="True" 
            PageSize="20" Font-Size="12px">
            <AlternatingRowStyle BackColor="#DCDCDC" />
            <Columns>
                <asp:TemplateField HeaderText="InterviewID">
                    <ItemTemplate>
                        <a href="#"><asp:Label ID="lblInterviewID" runat="server" Text='<%#Eval("InterviewID") %>'></asp:Label></a>
                    </ItemTemplate>
                </asp:TemplateField>

                <asp:TemplateField HeaderText="VacancyID">
                <ItemTemplate>
                    <asp:Label ID="lblVacancyID" runat="server" Text='<%# Eval("VacancyID") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>

                <asp:TemplateField HeaderText="ApplicantID">
                <ItemTemplate>
                    <asp:Label ID="lblApplicantID" runat="server" Text='<%# Eval("ApplicantID") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>

                <asp:TemplateField HeaderText="DateInterview">
                <ItemTemplate>
                <asp:Label ID="lblDateInterview" runat="server" Text='<%# Eval("DateInterview") %>'></asp:Label>
                </ItemTemplate>
                </asp:TemplateField>

                <asp:TemplateField HeaderText="TimeDetails">
                <ItemTemplate>
                <asp:Label ID="lblTimedetails" runat="server" Text='<%# Eval("TimeDetails")%>'></asp:Label>
                </ItemTemplate>
                </asp:TemplateField>

                <asp:TemplateField HeaderText="Status">
                <ItemTemplate>
                <asp:Label ID="lblStatus" runat="server" Text='<%# Eval("Status")%>'></asp:Label>
                </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <EmptyDataTemplate>
                <asp:Label ID="lblInterviewID" runat="server"></asp:Label>
            </EmptyDataTemplate>
            <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
            <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" 
                Font-Size="15px" />
            <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
            <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
            <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#0000A9" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#000065" />
        </asp:GridView>    
    </div>
</asp:Content>

